package demo01;

public class hw44 {
    public static void main(String[] args) {
        int num = 0;
        int count = 0;
        int shuru = 688;
        int record = 0;
        int[] arr = new int[100];
        for (int i = 2; i <= shuru; i++) {
        	for(int j = 1; j <= i; j++){
        		num = i % j;
        		if(num == 0){
        			count++;
        		}
        	}
        	if (count == 2)
        	{
        		arr[record] = i;
        		record++;
        	}
        	count = 0;
        }	
    
        for(int k = 0; k < record; k++){
        	for (int j = 0; j < record; j++)
        	{
        		if(arr[j] + arr[k] == shuru)
    		{
    			System.out.println(arr[j] + "+" + arr[k]);
    		}
    	}
    }

    }
}
